<?php
require_once (__DIR__ . "/../../models/ContactMethods.php");
require_once (__DIR__ . "/../../models/Users.php");
require_once (__DIR__ . "/../../models/Keywords.php");
$row = ContactMethods::Get($_REQUEST['id']);
$user = Users::Get($row['userId']);
?>
			<div id="content" class="dl-horizontal">
				<dl>
					<dt>User Id:</dt>
					<dd><?php echo $user['firstName'].' '.$user['lastName'] ;?></dd>
					<dt>Contact Type:</dt>
					<dd><?php echo Keywords::GetName($row['contactType']);?></dd>
					<dt>Value:</dt>
					<dd><?php echo $row['value'];?></dd>
					<dt>Created:</dt>
					<dd><?php echo $row['created_at'];?></dd>
					<dt>Updated:</dt>
					<dd><?php echo $row['updated_at'];?></dd>
				</dl>